<form name="loginForm" style="margin-top:20px;" method="post" action="actions/checklogin.php">
	<fieldset style="width:300px; margin:0px auto;">
		<legend>Login</legend>
    	<table width="300">
        	<tr>
            	<td>Utilizator:</td><td><input name="username" style="width:100%;" type="text" /></td>
            </tr>
            <tr>
        		<td>Cheie:</td><td><input name="userpass" style="width:100%;" type="password" /></td>
            </tr>
            <tr align="right">
            	<td colspan="2"><input type="submit" name="submit" value="Intra pe site" /></td>
            </tr>
            <?php if($_GET['error']==1) { ?>
            <tr align="right">
            	<td colspan="2"><strong>Utilizator inexistent sau cheie gresita.</strong></td>
            </tr>	
			<?php } ?>
        </table>
	</fieldset>
</form>